package com.kunbo.cn.entity.core.sale;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import com.kunbo.cn.entity.core.purchase.ProcurementPriceAdjustment;

import lombok.Data;

/**
 * 订单结转
 * @author  编写人:bjl
 * @date 时间:2019年1月28日下午5:18:21
 */

@Entity
@Table(name="business_OrderCarryOver_manage")
@GenericGenerator(name = "jpa-uuid", strategy = "uuid")
@EntityListeners(AuditingEntityListener.class)
public class OrderCarryOver {
	
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(generator = "jpa-uuid") 
    @Column(length = 32)
	private String id;
	private String uuid;
	private String create_user_id;
	private String taskid;
	private String noticeCode;//结转单号
	private String oldOrder;//调量单号
	private String newOrder;//调入单号
	private Float carryTotal;//
	private Float lowerAmount;//结转量
	private String material;//材料
	private String createTime;//结转时间
	private String note;//备注
	private Integer state;//启用，停用
	/*@Column
	private Integer valid;//有效性0 有效 ,1无效
*/
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUuid() {
		return uuid;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public String getCreate_user_id() {
		return create_user_id;
	}
	public void setCreate_user_id(String create_user_id) {
		this.create_user_id = create_user_id;
	}
	public String getTaskid() {
		return taskid;
	}
	public void setTaskid(String taskid) {
		this.taskid = taskid;
	}
	public String getNoticeCode() {
		return noticeCode;
	}
	public void setNoticeCode(String noticeCode) {
		this.noticeCode = noticeCode;
	}
	public String getOldOrder() {
		return oldOrder;
	}
	public void setOldOrder(String oldOrder) {
		this.oldOrder = oldOrder;
	}
	public String getNewOrder() {
		return newOrder;
	}
	public void setNewOrder(String newOrder) {
		this.newOrder = newOrder;
	}
	public Float getCarryTotal() {
		return carryTotal;
	}
	public void setCarryTotal(Float carryTotal) {
		this.carryTotal = carryTotal;
	}
	public Float getLowerAmount() {
		return lowerAmount;
	}
	public void setLowerAmount(Float lowerAmount) {
		this.lowerAmount = lowerAmount;
	}
	public String getMaterial() {
		return material;
	}
	public void setMaterial(String material) {
		this.material = material;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	
	}
